<meta charset="utf-8">
<?php
	
	/*include_once('init.php');*/

/*	echo $_GET['id'];die;*/

/*print_r(explode(',',$_GET['id']));die;*/
		$row= dei('news',explode(',',$_GET['id']));
		
		/*delete where id in( 36,32,1)*/
	
			
	
        if ($row>0) {
        	echo '<script>alert("删除成功");location.href="index.php?c=news&a=news&admin=1";</script>';

        }else{
        	echo '<script>alert("删除失败");history.go(-1);</script>';die;
        }
    
		


		$arr=getselectByone('news',"`id`='$id'");
   
  include( VIEW_PATH.$admin.'layst.html');


?>
